/***********************************************************
* Purpose : insert Answer
* Author : DATDT
* Date: 25/3/2012
* Description: insert Answer
*/
IF exists (SELECT * FROM dbo.sysobjects WHERE NAME = 'sp_insertAnswer')
	DROP PROC sp_insertAnswer
GO
CREATE PROC sp_insertAnswer

	@Question_ID INTEGER,
    @Content VARCHAR(500),
    @Correct INTEGER
AS
BEGIN
	DECLARE @Last_Update DATETIME
	SET @Last_Update = GETDATE()

	INSERT INTO Answer VALUES (@Question_ID, @Content, @Correct, @Last_Update)
END